package cn.funnymap.lgis.params;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 分页查询请求参数基类
 *
 * @author jiaoxn
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonPageQueryRequest {
    @NotNull(message = "分页页码不可为空")
    private Integer page;
    @NotNull(message = "分页大小不可为空")
    private Integer pageSize;
    private String name;
}
